<template>
  <fieldset class="tem-field">
    <legend>{{props.title}}</legend>
    <slot></slot>
  </fieldset>
</template>

<script setup>
const props = defineProps({
  title: String
})
</script>

<style scoped>
.tem-field{
  width: 98%;
  margin:  20px auto;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}
</style>